package com.example.bestudentsystem.demos.web.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@TableName("course")
@NoArgsConstructor
@AllArgsConstructor
public class Course {
    @TableId(value = "cno",type = IdType.AUTO)
    private String cno;
    private String tno;
    private String cname;
    private String address;
    private String time;
    private int credit;
    private int residue;
    private int isopen;
    private int att;
    private int israte ;
    private String photo;
    private int apply;
}
